home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / novell / fyi7 / 05301.dos < prev    next >
Text File  |  1996-07-10  |  2KB  |  71 lines

  1. SUBJECT  : LOGIN Changes From v1.73b to v2.10
  2. DATE  : 05/25/90
  3. FYI #  : 052890rr
  4. OS VERSION  : 2.15 and 3.0
  5. REVISION  : C and A respectively
  6. SHELL VERSION  :
  7.  
  8. GENERAL 
  9. INFORMATION  : Syntax changes have occured between LOGIN.EXE v1.73b and the 
  10. latest - v2.10.
  11.  
  12. PROBLEM  : Formerly questionable syntax and procedures behave
  13. differently with this new version of LOGIN. I have
  14. noticed the following so far:
  15.  
  16. SET COMSPEC  - works if you follow the book exactly, but before you
  17. could say SET COMSPEC=S2:COMMAND.COM or SET COMSPEC
  18. s2:COMMAND.COM and a few other variations without an error.
  19.  
  20. ATTACH  - two changes have been noticed
  21.  
  22. 1. ATTACH <servername>/ was formerly acceptable
  23. syntax for attaching as the same username with
  24. the same password. LOGIN v2.10 rejects this line
  25. as a syntax error.
  26.  
  27. 2. ATTACHing to a server you are already attached to
  28. used to result in a message similar to:
  29. "Already attached to server <servername>"
  30. In the current LOGIN it appears to attempt to
  31. reattach, causing the currently mapped drives to
  32. that server to be lost, or remapped to root.
  33.  
  34. SOLUTION  : Tighten up the syntax in the scripts (not a pretty
  35. picture if your user has lots of user scripts; the
  36. Norton TS utility is handy for finding where work
  37. is needed). To work around the repeated ATTACH problem,
  38. you can use a login script fragment like this (assume
  39. my server is called FS1, and the server to attach to
  40. is FS2):
  41.  
  42. rem ** this is at the begining of the script **
  43. DOS SET FS2="N"
  44.  
  45. rem ** you can replace every occurance of ATTACH FS2
  46. rem ** with the following code:
  47. rem
  48. rem ** NOTE: this uses two features that are new to
  49. rem ** LOGIN v2.10 - the ability to test against
  50. rem ** DOS environment variables, as well as
  51. rem ** nested IF-THEN's. It won't work with any
  52. rem ** earlier versions.
  53. If <FS2>="N" then BEGIN
  54. Attach FS2
  55. If "%ERROR_LEVEL" = "0" then DOS SET FS2="Y"
  56. END
  57.  
  58. COMMENTS: These sort of things are what give NetWare 386 the
  59. reputation of not being totally compatible with
  60. NetWare 286. Hopefully, the fact that this version
  61. of LOGIN is included with the popular new shells for
  62. DOS will help put the issue in the correct court.
  63.  
  64. YOUR NAME AND DEPT.  : Rob Rawson - National Account SE, Paramus
  65.  
  66. (Check one)
  67.  
  68. (  )    This information has been verified.
  69.  
  70. (XX)    This is useful information, but has not been verified.
  71.